﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;

namespace TimerJobServer.Common.Mina
{
    /// <summary>
    /// 传输使用的对象
    /// </summary>
    [Serializable]
    public class TransferObj
    {

        /// <summary>
        /// 操作类型 获取/设置操作
        /// </summary>
        public TranType Type { get; set; }

        public string Message { get; set; }

        public string Return { get; set; }

        public string Log { get; set; }

        public List<QuarzJobInfo> Jobs { get; set; }

        public QuarzJobInfo Job { get; set; }
        /// <summary>
        /// 传输的文件类型
        /// </summary>
        public ObservableCollection<DirectoryRecord> DirectoryRecords { get; set; }

        /// <summary>
        /// 文件路径
        /// </summary>
        public string FileFullPath { get; set; }
        /// <summary>
        /// 文件的内容
        /// </summary>
        public string FileContent { get; set; }

    }
}
